import request from "../request.js"
import { CURRENT } from "../const.js"

export default {
    getData(data = {}) {
        return request({
            url: CURRENT + 'selectAll',
            method: 'GET',
            data
        });
    },
    getChartData(data) {
        return request({
            url: CURRENT + 'selectOne',
            method: 'POST',
            data
        });
    }

}